/**
 * Copyright &copy; 2012-2016 <a href="https://github.com/thinkgem/jeesite">JeeSite</a> All rights reserved.
 */
package com.thinkgem.jeesite.modules.stu.service;

import java.util.List;

import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.thinkgem.jeesite.common.persistence.Page;
import com.thinkgem.jeesite.common.service.CrudService;
import com.thinkgem.jeesite.modules.stu.entity.OtStudent;
import com.thinkgem.jeesite.modules.stu.dao.OtStudentDao;

/**
 * 学生管理Service
 * @author hu
 * @version 2017-09-29
 */
@Service
@Transactional(readOnly = true)
public class OtStudentService extends CrudService<OtStudentDao, OtStudent> {

	public OtStudent get(String id) {
		return super.get(id);
	}
	
	public List<OtStudent> findList(OtStudent otStudent) {
		return super.findList(otStudent);
	}
	
	public Page<OtStudent> findPage(Page<OtStudent> page, OtStudent otStudent) {
		return super.findPage(page, otStudent);
	}
	
	@Transactional(readOnly = false)
	public void save(OtStudent otStudent) {
		super.save(otStudent);
	}
	
	@Transactional(readOnly = false)
	public void delete(OtStudent otStudent) {
		super.delete(otStudent);
	}
	
}